gqlclient

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppLocale

type AppLocale struct {
	Description string `json:"description"`
	LangCode    string `json:"langCode"`
	Name        string `json:"name"`
}

func (*AppLocale) GetDescription

func (v *AppLocale) GetDescription() string

GetDescription returns AppLocale.Description, and is useful for accessing the field via an interface.

func (*AppLocale) GetLangCode

func (v *AppLocale) GetLangCode() string

GetLangCode returns AppLocale.LangCode, and is useful for accessing the field via an interface.

func (*AppLocale) GetName

func (v *AppLocale) GetName() string

GetName returns AppLocale.Name, and is useful for accessing the field via an interface.

type AppStoreProduct

type AppStoreProduct string
const (
	AppStoreProductLx AppStoreProduct = "LX"
)

type AppStoreService

type AppStoreService interface {
	GetAppStoreListing(ctx context.Context, id string) (*GetAppStoreListingResponse, error)
	DeleteAppStoreListing(ctx context.Context, id string) (*DeleteAppStoreListingResponse, error)
	CreateAppStoreListing(ctx context.Context, input CreateWebAppInput) (*CreateAppStoreListingResponse, error)
	EditAppStoreListing(ctx context.Context, id string, edits EditWebAppInput) (*EditAppStoreListingResponse, error)
}

func NewAppStoreClient

func NewAppStoreClient(authToken string, accountID string, header map[string]string) AppStoreService

type AppTileModule

type AppTileModule struct {
	Title       string                                     `json:"title"`
	Description string                                     `json:"description"`
	Version     string                                     `json:"version"`
	Source      AppTileModuleSourceMarketplaceModuleSource `json:"-"`
	IconV2      *AppTileModuleIconV2MarketplaceModuleImage `json:"iconV2"`
}

AppTileModule includes the GraphQL fields of MarketplaceModule requested by the fragment AppTileModule.

func (*AppTileModule) GetDescription

func (v *AppTileModule) GetDescription() string

GetDescription returns AppTileModule.Description, and is useful for accessing the field via an interface.

func (*AppTileModule) GetIconV2

GetIconV2 returns AppTileModule.IconV2, and is useful for accessing the field via an interface.

func (*AppTileModule) GetSource

GetSource returns AppTileModule.Source, and is useful for accessing the field via an interface.

func (*AppTileModule) GetTitle

func (v *AppTileModule) GetTitle() string

GetTitle returns AppTileModule.Title, and is useful for accessing the field via an interface.

func (*AppTileModule) GetVersion

func (v *AppTileModule) GetVersion() string

GetVersion returns AppTileModule.Version, and is useful for accessing the field via an interface.

func (*AppTileModule) MarshalJSON

func (v *AppTileModule) MarshalJSON() ([]byte, error)

func (*AppTileModule) UnmarshalJSON

func (v *AppTileModule) UnmarshalJSON(b []byte) error

type AppTileModuleIconV2MarketplaceModuleImage

type AppTileModuleIconV2MarketplaceModuleImage struct {
	Url           string `json:"url"`
	FileName      string `json:"fileName"`
	FileExtension string `json:"fileExtension"`
}

AppTileModuleIconV2MarketplaceModuleImage includes the requested fields of the GraphQL type MarketplaceModuleImage.

func (*AppTileModuleIconV2MarketplaceModuleImage) GetFileExtension

func (v *AppTileModuleIconV2MarketplaceModuleImage) GetFileExtension() string

GetFileExtension returns AppTileModuleIconV2MarketplaceModuleImage.FileExtension, and is useful for accessing the field via an interface.

func (*AppTileModuleIconV2MarketplaceModuleImage) GetFileName

GetFileName returns AppTileModuleIconV2MarketplaceModuleImage.FileName, and is useful for accessing the field via an interface.

func (*AppTileModuleIconV2MarketplaceModuleImage) GetUrl

GetUrl returns AppTileModuleIconV2MarketplaceModuleImage.Url, and is useful for accessing the field via an interface.

type AppTileModuleSourceAppTile

type AppTileModuleSourceAppTile struct {
	Typename string `json:"__typename"`
	Id       string `json:"id"`
}

AppTileModuleSourceAppTile includes the requested fields of the GraphQL type AppTile.

func (*AppTileModuleSourceAppTile) GetId

GetId returns AppTileModuleSourceAppTile.Id, and is useful for accessing the field via an interface.

func (*AppTileModuleSourceAppTile) GetTypename

func (v *AppTileModuleSourceAppTile) GetTypename() string

GetTypename returns AppTileModuleSourceAppTile.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceConsent

type AppTileModuleSourceConsent struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceConsent includes the requested fields of the GraphQL type Consent.

func (*AppTileModuleSourceConsent) GetTypename

func (v *AppTileModuleSourceConsent) GetTypename() string

GetTypename returns AppTileModuleSourceConsent.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceDomainOntology

type AppTileModuleSourceDomainOntology struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceDomainOntology includes the requested fields of the GraphQL type DomainOntology.

func (*AppTileModuleSourceDomainOntology) GetTypename

func (v *AppTileModuleSourceDomainOntology) GetTypename() string

GetTypename returns AppTileModuleSourceDomainOntology.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceInsightsLayout

type AppTileModuleSourceInsightsLayout struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceInsightsLayout includes the requested fields of the GraphQL type InsightsLayout.

func (*AppTileModuleSourceInsightsLayout) GetTypename

func (v *AppTileModuleSourceInsightsLayout) GetTypename() string

GetTypename returns AppTileModuleSourceInsightsLayout.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceMarketplaceModuleSource

type AppTileModuleSourceMarketplaceModuleSource interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() string
	// contains filtered or unexported methods
}

AppTileModuleSourceMarketplaceModuleSource includes the requested fields of the GraphQL interface MarketplaceModuleSource.

AppTileModuleSourceMarketplaceModuleSource is implemented by the following types: AppTileModuleSourceAppTile AppTileModuleSourceConsent AppTileModuleSourceDomainOntology AppTileModuleSourceInsightsLayout AppTileModuleSourceNotebook AppTileModuleSourceOcrReportExtractor AppTileModuleSourcePatientLayout AppTileModuleSourceProcessOntology AppTileModuleSourceProgramEnrollment AppTileModuleSourceProgramTemplate AppTileModuleSourceSearchLayout AppTileModuleSourceSurvey AppTileModuleSourceWellnessOffering AppTileModuleSourceWorkflow

type AppTileModuleSourceNotebook

type AppTileModuleSourceNotebook struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceNotebook includes the requested fields of the GraphQL type Notebook.

func (*AppTileModuleSourceNotebook) GetTypename

func (v *AppTileModuleSourceNotebook) GetTypename() string

GetTypename returns AppTileModuleSourceNotebook.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceOcrReportExtractor

type AppTileModuleSourceOcrReportExtractor struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceOcrReportExtractor includes the requested fields of the GraphQL type OcrReportExtractor.

func (*AppTileModuleSourceOcrReportExtractor) GetTypename

GetTypename returns AppTileModuleSourceOcrReportExtractor.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourcePatientLayout

type AppTileModuleSourcePatientLayout struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourcePatientLayout includes the requested fields of the GraphQL type PatientLayout.

func (*AppTileModuleSourcePatientLayout) GetTypename

func (v *AppTileModuleSourcePatientLayout) GetTypename() string

GetTypename returns AppTileModuleSourcePatientLayout.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceProcessOntology

type AppTileModuleSourceProcessOntology struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceProcessOntology includes the requested fields of the GraphQL type ProcessOntology.

func (*AppTileModuleSourceProcessOntology) GetTypename

func (v *AppTileModuleSourceProcessOntology) GetTypename() string

GetTypename returns AppTileModuleSourceProcessOntology.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceProgramEnrollment

type AppTileModuleSourceProgramEnrollment struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceProgramEnrollment includes the requested fields of the GraphQL type ProgramEnrollment.

func (*AppTileModuleSourceProgramEnrollment) GetTypename

GetTypename returns AppTileModuleSourceProgramEnrollment.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceProgramTemplate

type AppTileModuleSourceProgramTemplate struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceProgramTemplate includes the requested fields of the GraphQL type ProgramTemplate.

func (*AppTileModuleSourceProgramTemplate) GetTypename

func (v *AppTileModuleSourceProgramTemplate) GetTypename() string

GetTypename returns AppTileModuleSourceProgramTemplate.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceSearchLayout

type AppTileModuleSourceSearchLayout struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceSearchLayout includes the requested fields of the GraphQL type SearchLayout.

func (*AppTileModuleSourceSearchLayout) GetTypename

func (v *AppTileModuleSourceSearchLayout) GetTypename() string

GetTypename returns AppTileModuleSourceSearchLayout.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceSurvey

type AppTileModuleSourceSurvey struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceSurvey includes the requested fields of the GraphQL type Survey.

func (*AppTileModuleSourceSurvey) GetTypename

func (v *AppTileModuleSourceSurvey) GetTypename() string

GetTypename returns AppTileModuleSourceSurvey.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceWellnessOffering

type AppTileModuleSourceWellnessOffering struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceWellnessOffering includes the requested fields of the GraphQL type WellnessOffering.

func (*AppTileModuleSourceWellnessOffering) GetTypename

GetTypename returns AppTileModuleSourceWellnessOffering.Typename, and is useful for accessing the field via an interface.

type AppTileModuleSourceWorkflow

type AppTileModuleSourceWorkflow struct {
	Typename string `json:"__typename"`
}

AppTileModuleSourceWorkflow includes the requested fields of the GraphQL type Workflow.

func (*AppTileModuleSourceWorkflow) GetTypename

func (v *AppTileModuleSourceWorkflow) GetTypename() string

GetTypename returns AppTileModuleSourceWorkflow.Typename, and is useful for accessing the field via an interface.

type ApproveModuleApproveModulePublishApproveModulePublishResponse

type ApproveModuleApproveModulePublishApproveModulePublishResponse struct {
	Id      string                                                                                    `json:"id"`
	Version ApproveModuleApproveModulePublishApproveModulePublishResponseVersionModuleVersionResponse `json:"version"`
}

ApproveModuleApproveModulePublishApproveModulePublishResponse includes the requested fields of the GraphQL type ApproveModulePublishResponse.

func (*ApproveModuleApproveModulePublishApproveModulePublishResponse) GetId

GetId returns ApproveModuleApproveModulePublishApproveModulePublishResponse.Id, and is useful for accessing the field via an interface.

func (*ApproveModuleApproveModulePublishApproveModulePublishResponse) GetVersion

GetVersion returns ApproveModuleApproveModulePublishApproveModulePublishResponse.Version, and is useful for accessing the field via an interface.

type ApproveModuleApproveModulePublishApproveModulePublishResponseVersionModuleVersionResponse

type ApproveModuleApproveModulePublishApproveModulePublishResponseVersionModuleVersionResponse struct {
	Version string `json:"version"`
}

ApproveModuleApproveModulePublishApproveModulePublishResponseVersionModuleVersionResponse includes the requested fields of the GraphQL type ModuleVersionResponse.

func (*ApproveModuleApproveModulePublishApproveModulePublishResponseVersionModuleVersionResponse) GetVersion

GetVersion returns ApproveModuleApproveModulePublishApproveModulePublishResponseVersionModuleVersionResponse.Version, and is useful for accessing the field via an interface.

type ApproveModulePublishInput

type ApproveModulePublishInput struct {
	Entitlements []Entitlement `json:"entitlements"`
	IsTestModule bool          `json:"isTestModule"`
	ModuleId     string        `json:"moduleId"`
	Notes        string        `json:"notes"`
}

func (*ApproveModulePublishInput) GetEntitlements

func (v *ApproveModulePublishInput) GetEntitlements() []Entitlement

GetEntitlements returns ApproveModulePublishInput.Entitlements, and is useful for accessing the field via an interface.

func (*ApproveModulePublishInput) GetIsTestModule added in v1.2.0

func (v *ApproveModulePublishInput) GetIsTestModule() bool

GetIsTestModule returns ApproveModulePublishInput.IsTestModule, and is useful for accessing the field via an interface.

func (*ApproveModulePublishInput) GetModuleId

func (v *ApproveModulePublishInput) GetModuleId() string

GetModuleId returns ApproveModulePublishInput.ModuleId, and is useful for accessing the field via an interface.

func (*ApproveModulePublishInput) GetNotes

func (v *ApproveModulePublishInput) GetNotes() string

GetNotes returns ApproveModulePublishInput.Notes, and is useful for accessing the field via an interface.

type ApproveModuleResponse

type ApproveModuleResponse struct {
	// Approves draft module review and publishes module to the marketplace
	ApproveModulePublish ApproveModuleApproveModulePublishApproveModulePublishResponse `json:"approveModulePublish"`
}

ApproveModuleResponse is returned by ApproveModule on success.

func (*ApproveModuleResponse) GetApproveModulePublish

GetApproveModulePublish returns ApproveModuleResponse.ApproveModulePublish, and is useful for accessing the field via an interface.

type AssignModuleReviewToSelfAssignDraftModuleForReviewAssignDraftModuleForReviewResponse

type AssignModuleReviewToSelfAssignDraftModuleForReviewAssignDraftModuleForReviewResponse struct {
	AssignedReviewer string `json:"assignedReviewer"`
	ModuleId         string `json:"moduleId"`
}

AssignModuleReviewToSelfAssignDraftModuleForReviewAssignDraftModuleForReviewResponse includes the requested fields of the GraphQL type AssignDraftModuleForReviewResponse.

func (*AssignModuleReviewToSelfAssignDraftModuleForReviewAssignDraftModuleForReviewResponse) GetAssignedReviewer

GetAssignedReviewer returns AssignModuleReviewToSelfAssignDraftModuleForReviewAssignDraftModuleForReviewResponse.AssignedReviewer, and is useful for accessing the field via an interface.

func (*AssignModuleReviewToSelfAssignDraftModuleForReviewAssignDraftModuleForReviewResponse) GetModuleId

GetModuleId returns AssignModuleReviewToSelfAssignDraftModuleForReviewAssignDraftModuleForReviewResponse.ModuleId, and is useful for accessing the field via an interface.

type AssignModuleReviewToSelfResponse

type AssignModuleReviewToSelfResponse struct {
	// Assigns draft module to the current user for manual review
	AssignDraftModuleForReview AssignModuleReviewToSelfAssignDraftModuleForReviewAssignDraftModuleForReviewResponse `json:"assignDraftModuleForReview"`
}

AssignModuleReviewToSelfResponse is returned by AssignModuleReviewToSelf on success.

func AssignModuleReviewToSelf

func AssignModuleReviewToSelf(
	ctx context.Context,
	client graphql.Client,
	moduleId string,
) (*AssignModuleReviewToSelfResponse, error)

func (*AssignModuleReviewToSelfResponse) GetAssignDraftModuleForReview

GetAssignDraftModuleForReview returns AssignModuleReviewToSelfResponse.AssignDraftModuleForReview, and is useful for accessing the field via an interface.

type CreateAppStoreListingCreateWebAppAppStoreWebApplication

type CreateAppStoreListingCreateWebAppAppStoreWebApplication struct {
	Id string `json:"id"`
}

CreateAppStoreListingCreateWebAppAppStoreWebApplication includes the requested fields of the GraphQL type AppStoreWebApplication. The GraphQL type's documentation follows.

a basic app meant to simply be loaded in a browser

func (*CreateAppStoreListingCreateWebAppAppStoreWebApplication) GetId

GetId returns CreateAppStoreListingCreateWebAppAppStoreWebApplication.Id, and is useful for accessing the field via an interface.

type CreateAppStoreListingResponse

type CreateAppStoreListingResponse struct {
	CreateWebApp CreateAppStoreListingCreateWebAppAppStoreWebApplication `json:"createWebApp"`
}

CreateAppStoreListingResponse is returned by CreateAppStoreListing on success.

func CreateAppStoreListing

func CreateAppStoreListing(
	ctx context.Context,
	client graphql.Client,
	input CreateWebAppInput,
) (*CreateAppStoreListingResponse, error)

func (*CreateAppStoreListingResponse) GetCreateWebApp

GetCreateWebApp returns CreateAppStoreListingResponse.CreateWebApp, and is useful for accessing the field via an interface.

type CreateDraftModuleCreateDraftModuleCreateDraftModuleResponse

type CreateDraftModuleCreateDraftModuleCreateDraftModuleResponse struct {
	Id string `json:"id"`
}

CreateDraftModuleCreateDraftModuleCreateDraftModuleResponse includes the requested fields of the GraphQL type CreateDraftModuleResponse.

func (*CreateDraftModuleCreateDraftModuleCreateDraftModuleResponse) GetId

GetId returns CreateDraftModuleCreateDraftModuleCreateDraftModuleResponse.Id, and is useful for accessing the field via an interface.

type CreateDraftModuleInput

type CreateDraftModuleInput struct {
	Category    ModuleCategory `json:"category"`
	Description string         `json:"description"`
	Icon        any            `json:"icon"`
	// A unique identifier to use for the new module. If not provided, one will be generated.
	Id               string                  `json:"id"`
	Languages        []string                `json:"languages"`
	LicenseDetails   LicenseDetailsInput     `json:"licenseDetails"`
	ParentModuleId   string                  `json:"parentModuleId"`
	PreviewImages    []FileWithDescription   `json:"previewImages"`
	PreviewVideoUrls []string                `json:"previewVideoUrls"`
	Prices           []DraftModulePriceInput `json:"prices"`
	Products         []ModuleProduct         `json:"products"`
	Scope            MarketplaceModuleScope  `json:"scope,omitempty"`
	Support          string                  `json:"support"`
	Tags             []string                `json:"tags"`
	Title            string                  `json:"title"`
	WebsiteUrl       string                  `json:"websiteUrl"`
}

func (*CreateDraftModuleInput) GetCategory

func (v *CreateDraftModuleInput) GetCategory() ModuleCategory

GetCategory returns CreateDraftModuleInput.Category, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetDescription

func (v *CreateDraftModuleInput) GetDescription() string

GetDescription returns CreateDraftModuleInput.Description, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetIcon

func (v *CreateDraftModuleInput) GetIcon() any

GetIcon returns CreateDraftModuleInput.Icon, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetId

func (v *CreateDraftModuleInput) GetId() string

GetId returns CreateDraftModuleInput.Id, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetLanguages

func (v *CreateDraftModuleInput) GetLanguages() []string

GetLanguages returns CreateDraftModuleInput.Languages, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetLicenseDetails

func (v *CreateDraftModuleInput) GetLicenseDetails() LicenseDetailsInput

GetLicenseDetails returns CreateDraftModuleInput.LicenseDetails, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetParentModuleId

func (v *CreateDraftModuleInput) GetParentModuleId() string

GetParentModuleId returns CreateDraftModuleInput.ParentModuleId, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetPreviewImages

func (v *CreateDraftModuleInput) GetPreviewImages() []FileWithDescription

GetPreviewImages returns CreateDraftModuleInput.PreviewImages, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetPreviewVideoUrls

func (v *CreateDraftModuleInput) GetPreviewVideoUrls() []string

GetPreviewVideoUrls returns CreateDraftModuleInput.PreviewVideoUrls, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetPrices

GetPrices returns CreateDraftModuleInput.Prices, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetProducts

func (v *CreateDraftModuleInput) GetProducts() []ModuleProduct

GetProducts returns CreateDraftModuleInput.Products, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetScope

GetScope returns CreateDraftModuleInput.Scope, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetSupport

func (v *CreateDraftModuleInput) GetSupport() string

GetSupport returns CreateDraftModuleInput.Support, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetTags

func (v *CreateDraftModuleInput) GetTags() []string

GetTags returns CreateDraftModuleInput.Tags, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetTitle

func (v *CreateDraftModuleInput) GetTitle() string

GetTitle returns CreateDraftModuleInput.Title, and is useful for accessing the field via an interface.

func (*CreateDraftModuleInput) GetWebsiteUrl

func (v *CreateDraftModuleInput) GetWebsiteUrl() string

GetWebsiteUrl returns CreateDraftModuleInput.WebsiteUrl, and is useful for accessing the field via an interface.

type CreateDraftModuleResponse

type CreateDraftModuleResponse struct {
	CreateDraftModule CreateDraftModuleCreateDraftModuleCreateDraftModuleResponse `json:"createDraftModule"`
}

CreateDraftModuleResponse is returned by CreateDraftModule on success.

func (*CreateDraftModuleResponse) GetCreateDraftModule

GetCreateDraftModule returns CreateDraftModuleResponse.CreateDraftModule, and is useful for accessing the field via an interface.

type CreateWebAppInput

type CreateWebAppInput struct {
	AbacResource  string          `json:"abacResource"`
	AuthorDisplay string          `json:"authorDisplay"`
	Description   string          `json:"description"`
	Id            string          `json:"id"`
	Image         string          `json:"image"`
	Locales       []AppLocale     `json:"locales"`
	Name          string          `json:"name"`
	Product       AppStoreProduct `json:"product"`
	Url           string          `json:"url"`
}

func (*CreateWebAppInput) GetAbacResource

func (v *CreateWebAppInput) GetAbacResource() string

GetAbacResource returns CreateWebAppInput.AbacResource, and is useful for accessing the field via an interface.

func (*CreateWebAppInput) GetAuthorDisplay

func (v *CreateWebAppInput) GetAuthorDisplay() string

GetAuthorDisplay returns CreateWebAppInput.AuthorDisplay, and is useful for accessing the field via an interface.

func (*CreateWebAppInput) GetDescription

func (v *CreateWebAppInput) GetDescription() string

GetDescription returns CreateWebAppInput.Description, and is useful for accessing the field via an interface.

func (*CreateWebAppInput) GetId

func (v *CreateWebAppInput) GetId() string

GetId returns CreateWebAppInput.Id, and is useful for accessing the field via an interface.

func (*CreateWebAppInput) GetImage

func (v *CreateWebAppInput) GetImage() string

GetImage returns CreateWebAppInput.Image, and is useful for accessing the field via an interface.

func (*CreateWebAppInput) GetLocales

func (v *CreateWebAppInput) GetLocales() []AppLocale

GetLocales returns CreateWebAppInput.Locales, and is useful for accessing the field via an interface.

func (*CreateWebAppInput) GetName

func (v *CreateWebAppInput) GetName() string

GetName returns CreateWebAppInput.Name, and is useful for accessing the field via an interface.

func (*CreateWebAppInput) GetProduct

func (v *CreateWebAppInput) GetProduct() AppStoreProduct

GetProduct returns CreateWebAppInput.Product, and is useful for accessing the field via an interface.

func (*CreateWebAppInput) GetUrl

func (v *CreateWebAppInput) GetUrl() string

GetUrl returns CreateWebAppInput.Url, and is useful for accessing the field via an interface.

type DeleteAppStoreListingResponse

type DeleteAppStoreListingResponse struct {
	DeleteApp bool `json:"deleteApp"`
}

DeleteAppStoreListingResponse is returned by DeleteAppStoreListing on success.

func DeleteAppStoreListing

func DeleteAppStoreListing(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*DeleteAppStoreListingResponse, error)

func (*DeleteAppStoreListingResponse) GetDeleteApp

func (v *DeleteAppStoreListingResponse) GetDeleteApp() bool

GetDeleteApp returns DeleteAppStoreListingResponse.DeleteApp, and is useful for accessing the field via an interface.

type DeleteModuleDeleteModuleDeleteModuleResponse

type DeleteModuleDeleteModuleDeleteModuleResponse struct {
	Id string `json:"id"`
}

DeleteModuleDeleteModuleDeleteModuleResponse includes the requested fields of the GraphQL type DeleteModuleResponse.

func (*DeleteModuleDeleteModuleDeleteModuleResponse) GetId

GetId returns DeleteModuleDeleteModuleDeleteModuleResponse.Id, and is useful for accessing the field via an interface.

type DeleteModuleInput

type DeleteModuleInput struct {
	ModuleId string `json:"moduleId"`
	Version  string `json:"version"`
}

func (*DeleteModuleInput) GetModuleId

func (v *DeleteModuleInput) GetModuleId() string

GetModuleId returns DeleteModuleInput.ModuleId, and is useful for accessing the field via an interface.

func (*DeleteModuleInput) GetVersion

func (v *DeleteModuleInput) GetVersion() string

GetVersion returns DeleteModuleInput.Version, and is useful for accessing the field via an interface.

type DeleteModuleResponse

type DeleteModuleResponse struct {
	DeleteModule DeleteModuleDeleteModuleDeleteModuleResponse `json:"deleteModule"`
}

DeleteModuleResponse is returned by DeleteModule on success.

func DeleteModule

func DeleteModule(
	ctx context.Context,
	client graphql.Client,
	input DeleteModuleInput,
) (*DeleteModuleResponse, error)

func (*DeleteModuleResponse) GetDeleteModule

GetDeleteModule returns DeleteModuleResponse.DeleteModule, and is useful for accessing the field via an interface.

type DraftModulePriceInput

type DraftModulePriceInput struct {
	// Amount in pennies USD
	Amount   int             `json:"amount"`
	Interval PaymentInterval `json:"interval"`
}

func (*DraftModulePriceInput) GetAmount

func (v *DraftModulePriceInput) GetAmount() int

GetAmount returns DraftModulePriceInput.Amount, and is useful for accessing the field via an interface.

func (*DraftModulePriceInput) GetInterval

func (v *DraftModulePriceInput) GetInterval() PaymentInterval

GetInterval returns DraftModulePriceInput.Interval, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModule

type DraftWellnessOfferingModule struct {
	Id          string                                                   `json:"id"`
	Title       string                                                   `json:"title"`
	Description string                                                   `json:"description"`
	Source      DraftWellnessOfferingModuleSourceMarketplaceModuleSource `json:"-"`
}

DraftWellnessOfferingModule includes the GraphQL fields of DraftMarketplaceModule requested by the fragment DraftWellnessOfferingModule.

func (*DraftWellnessOfferingModule) GetDescription

func (v *DraftWellnessOfferingModule) GetDescription() string

GetDescription returns DraftWellnessOfferingModule.Description, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModule) GetId

GetId returns DraftWellnessOfferingModule.Id, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModule) GetSource

GetSource returns DraftWellnessOfferingModule.Source, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModule) GetTitle

func (v *DraftWellnessOfferingModule) GetTitle() string

GetTitle returns DraftWellnessOfferingModule.Title, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModule) MarshalJSON

func (v *DraftWellnessOfferingModule) MarshalJSON() ([]byte, error)

func (*DraftWellnessOfferingModule) UnmarshalJSON

func (v *DraftWellnessOfferingModule) UnmarshalJSON(b []byte) error

type DraftWellnessOfferingModuleSourceAppTile

type DraftWellnessOfferingModuleSourceAppTile struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceAppTile includes the requested fields of the GraphQL type AppTile.

func (*DraftWellnessOfferingModuleSourceAppTile) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceAppTile.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceConsent

type DraftWellnessOfferingModuleSourceConsent struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceConsent includes the requested fields of the GraphQL type Consent.

func (*DraftWellnessOfferingModuleSourceConsent) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceConsent.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceDomainOntology

type DraftWellnessOfferingModuleSourceDomainOntology struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceDomainOntology includes the requested fields of the GraphQL type DomainOntology.

func (*DraftWellnessOfferingModuleSourceDomainOntology) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceDomainOntology.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceInsightsLayout

type DraftWellnessOfferingModuleSourceInsightsLayout struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceInsightsLayout includes the requested fields of the GraphQL type InsightsLayout.

func (*DraftWellnessOfferingModuleSourceInsightsLayout) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceInsightsLayout.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceMarketplaceModuleSource

type DraftWellnessOfferingModuleSourceMarketplaceModuleSource interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() string
	// contains filtered or unexported methods
}

DraftWellnessOfferingModuleSourceMarketplaceModuleSource includes the requested fields of the GraphQL interface MarketplaceModuleSource.

DraftWellnessOfferingModuleSourceMarketplaceModuleSource is implemented by the following types: DraftWellnessOfferingModuleSourceAppTile DraftWellnessOfferingModuleSourceConsent DraftWellnessOfferingModuleSourceDomainOntology DraftWellnessOfferingModuleSourceInsightsLayout DraftWellnessOfferingModuleSourceNotebook DraftWellnessOfferingModuleSourceOcrReportExtractor DraftWellnessOfferingModuleSourcePatientLayout DraftWellnessOfferingModuleSourceProcessOntology DraftWellnessOfferingModuleSourceProgramEnrollment DraftWellnessOfferingModuleSourceProgramTemplate DraftWellnessOfferingModuleSourceSearchLayout DraftWellnessOfferingModuleSourceSurvey DraftWellnessOfferingModuleSourceWellnessOffering DraftWellnessOfferingModuleSourceWorkflow

type DraftWellnessOfferingModuleSourceNotebook

type DraftWellnessOfferingModuleSourceNotebook struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceNotebook includes the requested fields of the GraphQL type Notebook.

func (*DraftWellnessOfferingModuleSourceNotebook) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceNotebook.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceOcrReportExtractor

type DraftWellnessOfferingModuleSourceOcrReportExtractor struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceOcrReportExtractor includes the requested fields of the GraphQL type OcrReportExtractor.

func (*DraftWellnessOfferingModuleSourceOcrReportExtractor) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceOcrReportExtractor.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourcePatientLayout

type DraftWellnessOfferingModuleSourcePatientLayout struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourcePatientLayout includes the requested fields of the GraphQL type PatientLayout.

func (*DraftWellnessOfferingModuleSourcePatientLayout) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourcePatientLayout.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceProcessOntology

type DraftWellnessOfferingModuleSourceProcessOntology struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceProcessOntology includes the requested fields of the GraphQL type ProcessOntology.

func (*DraftWellnessOfferingModuleSourceProcessOntology) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceProcessOntology.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceProgramEnrollment

type DraftWellnessOfferingModuleSourceProgramEnrollment struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceProgramEnrollment includes the requested fields of the GraphQL type ProgramEnrollment.

func (*DraftWellnessOfferingModuleSourceProgramEnrollment) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceProgramEnrollment.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceProgramTemplate

type DraftWellnessOfferingModuleSourceProgramTemplate struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceProgramTemplate includes the requested fields of the GraphQL type ProgramTemplate.

func (*DraftWellnessOfferingModuleSourceProgramTemplate) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceProgramTemplate.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceSearchLayout

type DraftWellnessOfferingModuleSourceSearchLayout struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceSearchLayout includes the requested fields of the GraphQL type SearchLayout.

func (*DraftWellnessOfferingModuleSourceSearchLayout) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceSearchLayout.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceSurvey

type DraftWellnessOfferingModuleSourceSurvey struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceSurvey includes the requested fields of the GraphQL type Survey.

func (*DraftWellnessOfferingModuleSourceSurvey) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceSurvey.Typename, and is useful for accessing the field via an interface.

type DraftWellnessOfferingModuleSourceWellnessOffering

type DraftWellnessOfferingModuleSourceWellnessOffering struct {
	Typename               string `json:"__typename"`
	WellnessOfferingSource `json:"-"`
}

DraftWellnessOfferingModuleSourceWellnessOffering includes the requested fields of the GraphQL type WellnessOffering.

GetAppLink returns DraftWellnessOfferingModuleSourceWellnessOffering.AppLink, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetApproximateUnitCost

func (v *DraftWellnessOfferingModuleSourceWellnessOffering) GetApproximateUnitCost() int

GetApproximateUnitCost returns DraftWellnessOfferingModuleSourceWellnessOffering.ApproximateUnitCost, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetConfigurationSchema

func (v *DraftWellnessOfferingModuleSourceWellnessOffering) GetConfigurationSchema() string

GetConfigurationSchema returns DraftWellnessOfferingModuleSourceWellnessOffering.ConfigurationSchema, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetIconUrl added in v1.4.0

GetIconUrl returns DraftWellnessOfferingModuleSourceWellnessOffering.IconUrl, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetId

GetId returns DraftWellnessOfferingModuleSourceWellnessOffering.Id, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetImageUrl

GetImageUrl returns DraftWellnessOfferingModuleSourceWellnessOffering.ImageUrl, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetInfoUrl

GetInfoUrl returns DraftWellnessOfferingModuleSourceWellnessOffering.InfoUrl, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetPriceRange added in v1.4.0

GetPriceRange returns DraftWellnessOfferingModuleSourceWellnessOffering.PriceRange, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetProvider

GetProvider returns DraftWellnessOfferingModuleSourceWellnessOffering.Provider, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetSubsidyType added in v1.2.0

GetSubsidyType returns DraftWellnessOfferingModuleSourceWellnessOffering.SubsidyType, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceWellnessOffering.Typename, and is useful for accessing the field via an interface.

func (*DraftWellnessOfferingModuleSourceWellnessOffering) MarshalJSON

func (*DraftWellnessOfferingModuleSourceWellnessOffering) UnmarshalJSON

type DraftWellnessOfferingModuleSourceWorkflow

type DraftWellnessOfferingModuleSourceWorkflow struct {
	Typename string `json:"__typename"`
}

DraftWellnessOfferingModuleSourceWorkflow includes the requested fields of the GraphQL type Workflow.

func (*DraftWellnessOfferingModuleSourceWorkflow) GetTypename

GetTypename returns DraftWellnessOfferingModuleSourceWorkflow.Typename, and is useful for accessing the field via an interface.

type EditAppStoreListingResponse

type EditAppStoreListingResponse struct {
	EditWebApp bool `json:"editWebApp"`
}

EditAppStoreListingResponse is returned by EditAppStoreListing on success.

func EditAppStoreListing

func EditAppStoreListing(
	ctx context.Context,
	client graphql.Client,
	id string,
	edits EditWebAppInput,
) (*EditAppStoreListingResponse, error)

func (*EditAppStoreListingResponse) GetEditWebApp

func (v *EditAppStoreListingResponse) GetEditWebApp() bool

GetEditWebApp returns EditAppStoreListingResponse.EditWebApp, and is useful for accessing the field via an interface.

type EditWebAppInput

type EditWebAppInput struct {
	AbacResource  string      `json:"abacResource"`
	AuthorDisplay string      `json:"authorDisplay"`
	Description   string      `json:"description"`
	Image         string      `json:"image"`
	Locales       []AppLocale `json:"locales"`
	Name          string      `json:"name"`
	Url           string      `json:"url"`
}

func (*EditWebAppInput) GetAbacResource

func (v *EditWebAppInput) GetAbacResource() string

GetAbacResource returns EditWebAppInput.AbacResource, and is useful for accessing the field via an interface.

func (*EditWebAppInput) GetAuthorDisplay

func (v *EditWebAppInput) GetAuthorDisplay() string

GetAuthorDisplay returns EditWebAppInput.AuthorDisplay, and is useful for accessing the field via an interface.

func (*EditWebAppInput) GetDescription

func (v *EditWebAppInput) GetDescription() string

GetDescription returns EditWebAppInput.Description, and is useful for accessing the field via an interface.

func (*EditWebAppInput) GetImage

func (v *EditWebAppInput) GetImage() string

GetImage returns EditWebAppInput.Image, and is useful for accessing the field via an interface.

func (*EditWebAppInput) GetLocales

func (v *EditWebAppInput) GetLocales() []AppLocale

GetLocales returns EditWebAppInput.Locales, and is useful for accessing the field via an interface.

func (*EditWebAppInput) GetName

func (v *EditWebAppInput) GetName() string

GetName returns EditWebAppInput.Name, and is useful for accessing the field via an interface.

func (*EditWebAppInput) GetUrl

func (v *EditWebAppInput) GetUrl() string

GetUrl returns EditWebAppInput.Url, and is useful for accessing the field via an interface.

type Entitlement

type Entitlement string
const (
	EntitlementLifeascent       Entitlement = "lifeAscent"
	EntitlementLifeascentlegacy Entitlement = "lifeAscentLegacy"
	EntitlementLifeplus         Entitlement = "lifePlus"
)

type FileWithDescription

type FileWithDescription struct {
	Description string `json:"description"`
	File        any    `json:"file"`
}

func (*FileWithDescription) GetDescription

func (v *FileWithDescription) GetDescription() string

GetDescription returns FileWithDescription.Description, and is useful for accessing the field via an interface.

func (*FileWithDescription) GetFile

func (v *FileWithDescription) GetFile() any

GetFile returns FileWithDescription.File, and is useful for accessing the field via an interface.

type FinalizeImageUploadFinalizeUploadFinalizeUploadResponse

type FinalizeImageUploadFinalizeUploadFinalizeUploadResponse struct {
	ModuleId string `json:"moduleId"`
}

FinalizeImageUploadFinalizeUploadFinalizeUploadResponse includes the requested fields of the GraphQL type FinalizeUploadResponse.

func (*FinalizeImageUploadFinalizeUploadFinalizeUploadResponse) GetModuleId

GetModuleId returns FinalizeImageUploadFinalizeUploadFinalizeUploadResponse.ModuleId, and is useful for accessing the field via an interface.

type FinalizeImageUploadResponse

type FinalizeImageUploadResponse struct {
	FinalizeUpload FinalizeImageUploadFinalizeUploadFinalizeUploadResponse `json:"finalizeUpload"`
}

FinalizeImageUploadResponse is returned by FinalizeImageUpload on success.

func FinalizeImageUpload

func FinalizeImageUpload(
	ctx context.Context,
	client graphql.Client,
	input FinalizeUploadInput,
) (*FinalizeImageUploadResponse, error)

func (*FinalizeImageUploadResponse) GetFinalizeUpload

GetFinalizeUpload returns FinalizeImageUploadResponse.FinalizeUpload, and is useful for accessing the field via an interface.

type FinalizeUploadInput

type FinalizeUploadInput struct {
	Description string     `json:"description"`
	Id          string     `json:"id"`
	ModuleId    string     `json:"moduleId"`
	Priority    int        `json:"priority"`
	Type        UploadType `json:"type"`
}

func (*FinalizeUploadInput) GetDescription

func (v *FinalizeUploadInput) GetDescription() string

GetDescription returns FinalizeUploadInput.Description, and is useful for accessing the field via an interface.

func (*FinalizeUploadInput) GetId

func (v *FinalizeUploadInput) GetId() string

GetId returns FinalizeUploadInput.Id, and is useful for accessing the field via an interface.

func (*FinalizeUploadInput) GetModuleId

func (v *FinalizeUploadInput) GetModuleId() string

GetModuleId returns FinalizeUploadInput.ModuleId, and is useful for accessing the field via an interface.

func (*FinalizeUploadInput) GetPriority

func (v *FinalizeUploadInput) GetPriority() int

GetPriority returns FinalizeUploadInput.Priority, and is useful for accessing the field via an interface.

func (*FinalizeUploadInput) GetType

func (v *FinalizeUploadInput) GetType() UploadType

GetType returns FinalizeUploadInput.Type, and is useful for accessing the field via an interface.

type GetAppStoreListingAppAppStoreApplication

type GetAppStoreListingAppAppStoreApplication interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() string
	// GetName returns the interface-field "name" from its implementation.
	GetName() string
	// GetDescription returns the interface-field "description" from its implementation.
	GetDescription() string
	// GetAuthorDisplay returns the interface-field "authorDisplay" from its implementation.
	// The GraphQL interface field's documentation follows.
	//
	// Optional display string - used to display the author if not LifeOmic
	GetAuthorDisplay() string
	// GetImage returns the interface-field "image" from its implementation.
	GetImage() string
	// contains filtered or unexported methods
}

GetAppStoreListingAppAppStoreApplication includes the requested fields of the GraphQL interface AppStoreApplication.

GetAppStoreListingAppAppStoreApplication is implemented by the following types: GetAppStoreListingAppAppStoreWebApplication

type GetAppStoreListingAppAppStoreWebApplication

type GetAppStoreListingAppAppStoreWebApplication struct {
	Typename    string `json:"__typename"`
	Name        string `json:"name"`
	Description string `json:"description"`
	// Optional display string - used to display the author if not LifeOmic
	AuthorDisplay string `json:"authorDisplay"`
	Image         string `json:"image"`
	Url           string `json:"url"`
}

GetAppStoreListingAppAppStoreWebApplication includes the requested fields of the GraphQL type AppStoreWebApplication. The GraphQL type's documentation follows.

a basic app meant to simply be loaded in a browser

func (*GetAppStoreListingAppAppStoreWebApplication) GetAuthorDisplay

GetAuthorDisplay returns GetAppStoreListingAppAppStoreWebApplication.AuthorDisplay, and is useful for accessing the field via an interface.

func (*GetAppStoreListingAppAppStoreWebApplication) GetDescription

GetDescription returns GetAppStoreListingAppAppStoreWebApplication.Description, and is useful for accessing the field via an interface.

func (*GetAppStoreListingAppAppStoreWebApplication) GetImage

GetImage returns GetAppStoreListingAppAppStoreWebApplication.Image, and is useful for accessing the field via an interface.

func (*GetAppStoreListingAppAppStoreWebApplication) GetName

GetName returns GetAppStoreListingAppAppStoreWebApplication.Name, and is useful for accessing the field via an interface.

func (*GetAppStoreListingAppAppStoreWebApplication) GetTypename

GetTypename returns GetAppStoreListingAppAppStoreWebApplication.Typename, and is useful for accessing the field via an interface.

func (*GetAppStoreListingAppAppStoreWebApplication) GetUrl

GetUrl returns GetAppStoreListingAppAppStoreWebApplication.Url, and is useful for accessing the field via an interface.

type GetAppStoreListingResponse

type GetAppStoreListingResponse struct {
	App GetAppStoreListingAppAppStoreApplication `json:"-"`
}

GetAppStoreListingResponse is returned by GetAppStoreListing on success.

func GetAppStoreListing

func GetAppStoreListing(
	ctx context.Context,
	client graphql.Client,
	id string,
) (*GetAppStoreListingResponse, error)

func (*GetAppStoreListingResponse) GetApp

GetApp returns GetAppStoreListingResponse.App, and is useful for accessing the field via an interface.

func (*GetAppStoreListingResponse) MarshalJSON

func (v *GetAppStoreListingResponse) MarshalJSON() ([]byte, error)

func (*GetAppStoreListingResponse) UnmarshalJSON

func (v *GetAppStoreListingResponse) UnmarshalJSON(b []byte) error

type GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule

type GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule struct {
	DraftWellnessOfferingModule `json:"-"`
}

GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule includes the requested fields of the GraphQL type DraftMarketplaceModule.

func (*GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule) GetDescription

GetDescription returns GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule.Description, and is useful for accessing the field via an interface.

func (*GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule) GetId

GetId returns GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule.Id, and is useful for accessing the field via an interface.

func (*GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule) GetSource

GetSource returns GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule.Source, and is useful for accessing the field via an interface.

func (*GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule) GetTitle

GetTitle returns GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule.Title, and is useful for accessing the field via an interface.

func (*GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule) MarshalJSON

func (*GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule) UnmarshalJSON

type GetDraftWellnessOfferingModuleResponse

type GetDraftWellnessOfferingModuleResponse struct {
	DraftModule GetDraftWellnessOfferingModuleDraftModuleDraftMarketplaceModule `json:"draftModule"`
}

GetDraftWellnessOfferingModuleResponse is returned by GetDraftWellnessOfferingModule on success.

func GetDraftWellnessOfferingModule

func GetDraftWellnessOfferingModule(
	ctx context.Context,
	client graphql.Client,
	moduleId string,
) (*GetDraftWellnessOfferingModuleResponse, error)

func (*GetDraftWellnessOfferingModuleResponse) GetDraftModule

GetDraftModule returns GetDraftWellnessOfferingModuleResponse.DraftModule, and is useful for accessing the field via an interface.

type GetPublishedModuleMyModuleMarketplaceModule

type GetPublishedModuleMyModuleMarketplaceModule struct {
	AppTileModule `json:"-"`
}

GetPublishedModuleMyModuleMarketplaceModule includes the requested fields of the GraphQL type MarketplaceModule.

func (*GetPublishedModuleMyModuleMarketplaceModule) GetDescription

GetDescription returns GetPublishedModuleMyModuleMarketplaceModule.Description, and is useful for accessing the field via an interface.

func (*GetPublishedModuleMyModuleMarketplaceModule) GetIconV2

GetIconV2 returns GetPublishedModuleMyModuleMarketplaceModule.IconV2, and is useful for accessing the field via an interface.

func (*GetPublishedModuleMyModuleMarketplaceModule) GetSource

GetSource returns GetPublishedModuleMyModuleMarketplaceModule.Source, and is useful for accessing the field via an interface.

func (*GetPublishedModuleMyModuleMarketplaceModule) GetTitle

GetTitle returns GetPublishedModuleMyModuleMarketplaceModule.Title, and is useful for accessing the field via an interface.

func (*GetPublishedModuleMyModuleMarketplaceModule) GetVersion

GetVersion returns GetPublishedModuleMyModuleMarketplaceModule.Version, and is useful for accessing the field via an interface.

func (*GetPublishedModuleMyModuleMarketplaceModule) MarshalJSON

func (*GetPublishedModuleMyModuleMarketplaceModule) UnmarshalJSON

type GetPublishedModuleResponse

type GetPublishedModuleResponse struct {
	MyModule GetPublishedModuleMyModuleMarketplaceModule `json:"myModule"`
}

GetPublishedModuleResponse is returned by GetPublishedModule on success.

func GetPublishedModule

func GetPublishedModule(
	ctx context.Context,
	client graphql.Client,
	id string,
	version string,
) (*GetPublishedModuleResponse, error)

func (*GetPublishedModuleResponse) GetMyModule

GetMyModule returns GetPublishedModuleResponse.MyModule, and is useful for accessing the field via an interface.

type GetWellnessOfferingModuleMyModuleMarketplaceModule

type GetWellnessOfferingModuleMyModuleMarketplaceModule struct {
	WellnessOfferingModule `json:"-"`
}

GetWellnessOfferingModuleMyModuleMarketplaceModule includes the requested fields of the GraphQL type MarketplaceModule.

func (*GetWellnessOfferingModuleMyModuleMarketplaceModule) GetDescription

GetDescription returns GetWellnessOfferingModuleMyModuleMarketplaceModule.Description, and is useful for accessing the field via an interface.

func (*GetWellnessOfferingModuleMyModuleMarketplaceModule) GetId

GetId returns GetWellnessOfferingModuleMyModuleMarketplaceModule.Id, and is useful for accessing the field via an interface.

func (*GetWellnessOfferingModuleMyModuleMarketplaceModule) GetSource

GetSource returns GetWellnessOfferingModuleMyModuleMarketplaceModule.Source, and is useful for accessing the field via an interface.

func (*GetWellnessOfferingModuleMyModuleMarketplaceModule) GetTitle

GetTitle returns GetWellnessOfferingModuleMyModuleMarketplaceModule.Title, and is useful for accessing the field via an interface.

func (*GetWellnessOfferingModuleMyModuleMarketplaceModule) GetVersion

GetVersion returns GetWellnessOfferingModuleMyModuleMarketplaceModule.Version, and is useful for accessing the field via an interface.

func (*GetWellnessOfferingModuleMyModuleMarketplaceModule) MarshalJSON

func (*GetWellnessOfferingModuleMyModuleMarketplaceModule) UnmarshalJSON

type GetWellnessOfferingModuleResponse

type GetWellnessOfferingModuleResponse struct {
	MyModule GetWellnessOfferingModuleMyModuleMarketplaceModule `json:"myModule"`
}

GetWellnessOfferingModuleResponse is returned by GetWellnessOfferingModule on success.

func GetWellnessOfferingModule

func GetWellnessOfferingModule(
	ctx context.Context,
	client graphql.Client,
	moduleId string,
) (*GetWellnessOfferingModuleResponse, error)

func (*GetWellnessOfferingModuleResponse) GetMyModule

GetMyModule returns GetWellnessOfferingModuleResponse.MyModule, and is useful for accessing the field via an interface.

type LicenseDetailsInput

type LicenseDetailsInput struct {
	Message string `json:"message"`
	Url     string `json:"url"`
}

func (*LicenseDetailsInput) GetMessage

func (v *LicenseDetailsInput) GetMessage() string

GetMessage returns LicenseDetailsInput.Message, and is useful for accessing the field via an interface.

func (*LicenseDetailsInput) GetUrl

func (v *LicenseDetailsInput) GetUrl() string

GetUrl returns LicenseDetailsInput.Url, and is useful for accessing the field via an interface.

type MarketplaceModuleScope

type MarketplaceModuleScope string
const (
	MarketplaceModuleScopeLicensed     MarketplaceModuleScope = "LICENSED"
	MarketplaceModuleScopeOrganization MarketplaceModuleScope = "ORGANIZATION"
	MarketplaceModuleScopePublic       MarketplaceModuleScope = "PUBLIC"
)

type MarketplaceService

type MarketplaceService interface {
	GetPublishedModule(ctx context.Context, id string, version string) (*GetPublishedModuleResponse, error)
	CreateDraftModule(ctx context.Context, input CreateDraftModuleInput) (*CreateDraftModuleResponse, error)
	DeleteModule(ctx context.Context, input DeleteModuleInput) (*DeleteModuleResponse, error)
	SetAppTile(ctx context.Context, input SetPublicAppTileDraftModuleSourceInput) (*SetAppTileResponse, error)
	PublishModule(ctx context.Context, input PublishDraftModuleInputV2) (*PublishModuleResponse, error)
	PublishModuleV3(ctx context.Context, input PublishDraftModuleInputV3) (*PublishModuleV3Response, error)
	AssignModuleReviewToSelf(ctx context.Context, moduleId string) (*AssignModuleReviewToSelfResponse, error)
	ApproveModule(ctx context.Context, input ApproveModulePublishInput) (*ApproveModuleResponse, error)
	StartImageUpload(ctx context.Context, input StartUploadInput) (*StartImageUploadResponse, error)
	FinalizeImageUpload(ctx context.Context, input FinalizeUploadInput) (*FinalizeImageUploadResponse, error)
	SetWellnessOfferingDraftModuleSource(ctx context.Context, input SetDraftModuleWellnessOfferingSourceInput) (*SetWellnessOfferingDraftModuleSourceResponse, error)
	GetWellnessOfferingModule(ctx context.Context, moduleId string) (*GetWellnessOfferingModuleResponse, error)
	UpdateDraftModule(ctx context.Context, input UpdateDraftModuleInput) (*UpdateDraftModuleResponse, error)
	GetDraftWellnessOfferingModule(ctx context.Context, moduleId string) (*GetDraftWellnessOfferingModuleResponse, error)
}

func NewMarketplaceClient

func NewMarketplaceClient(authToken string, accountID string, header map[string]string) MarketplaceService

type ModuleCategory

type ModuleCategory string
const (
	ModuleCategoryAppTile             ModuleCategory = "APP_TILE"
	ModuleCategoryConsent             ModuleCategory = "CONSENT"
	ModuleCategoryDomainOntology      ModuleCategory = "DOMAIN_ONTOLOGY"
	ModuleCategoryInsightsLayout      ModuleCategory = "INSIGHTS_LAYOUT"
	ModuleCategoryNotebook            ModuleCategory = "NOTEBOOK"
	ModuleCategoryPatientViewerLayout ModuleCategory = "PATIENT_VIEWER_LAYOUT"
	ModuleCategoryProcessOntology     ModuleCategory = "PROCESS_ONTOLOGY"
	ModuleCategoryProgramEnrollment   ModuleCategory = "PROGRAM_ENROLLMENT"
	ModuleCategoryProgramTemplate     ModuleCategory = "PROGRAM_TEMPLATE"
	ModuleCategoryReportExtractor     ModuleCategory = "REPORT_EXTRACTOR"
	ModuleCategorySearchLayout        ModuleCategory = "SEARCH_LAYOUT"
	ModuleCategorySurvey              ModuleCategory = "SURVEY"
	ModuleCategoryWellnessOffering    ModuleCategory = "WELLNESS_OFFERING"
	ModuleCategoryWorkflow            ModuleCategory = "WORKFLOW"
)

type ModuleProduct

type ModuleProduct string
const (
	ModuleProductLifeology         ModuleProduct = "LIFEOLOGY"
	ModuleProductLifeExtendApp     ModuleProduct = "LIFE_EXTEND_APP"
	ModuleProductLifeFastingApp    ModuleProduct = "LIFE_FASTING_APP"
	ModuleProductLifeMobileApps    ModuleProduct = "LIFE_MOBILE_APPS"
	ModuleProductOcr               ModuleProduct = "OCR"
	ModuleProductPhc               ModuleProduct = "PHC"
	ModuleProductPrecisionOutcomes ModuleProduct = "PRECISION_OUTCOMES"
	ModuleProductPrecisionWellness ModuleProduct = "PRECISION_WELLNESS"
	ModuleProductSkillspring       ModuleProduct = "SKILLSPRING"
)

type ModuleVersionInput

type ModuleVersionInput struct {
	ChangeLog string `json:"changeLog"`
	Version   string `json:"version"`
}

func (*ModuleVersionInput) GetChangeLog

func (v *ModuleVersionInput) GetChangeLog() string

GetChangeLog returns ModuleVersionInput.ChangeLog, and is useful for accessing the field via an interface.

func (*ModuleVersionInput) GetVersion

func (v *ModuleVersionInput) GetVersion() string

GetVersion returns ModuleVersionInput.Version, and is useful for accessing the field via an interface.

type PaymentInterval

type PaymentInterval string
const (
	PaymentIntervalFree    PaymentInterval = "FREE"
	PaymentIntervalMonthly PaymentInterval = "MONTHLY"
	PaymentIntervalOnce    PaymentInterval = "ONCE"
	PaymentIntervalYearly  PaymentInterval = "YEARLY"
)

type PriceRangeInput added in v1.4.0

type PriceRangeInput struct {
	High int `json:"high"`
	Low  int `json:"low"`
}

func (*PriceRangeInput) GetHigh added in v1.4.0

func (v *PriceRangeInput) GetHigh() int

GetHigh returns PriceRangeInput.High, and is useful for accessing the field via an interface.

func (*PriceRangeInput) GetLow added in v1.4.0

func (v *PriceRangeInput) GetLow() int

GetLow returns PriceRangeInput.Low, and is useful for accessing the field via an interface.

type PublicAppTileModuleSourceInfo

type PublicAppTileModuleSourceInfo struct {
	Id string `json:"id"`
}

func (*PublicAppTileModuleSourceInfo) GetId

GetId returns PublicAppTileModuleSourceInfo.Id, and is useful for accessing the field via an interface.

type PublishDraftModuleInputV2

type PublishDraftModuleInputV2 struct {
	IsTestModule bool               `json:"isTestModule"`
	ModuleId     string             `json:"moduleId"`
	ShowAuthor   bool               `json:"showAuthor"`
	Version      ModuleVersionInput `json:"version"`
}

func (*PublishDraftModuleInputV2) GetIsTestModule

func (v *PublishDraftModuleInputV2) GetIsTestModule() bool

GetIsTestModule returns PublishDraftModuleInputV2.IsTestModule, and is useful for accessing the field via an interface.

func (*PublishDraftModuleInputV2) GetModuleId

func (v *PublishDraftModuleInputV2) GetModuleId() string

GetModuleId returns PublishDraftModuleInputV2.ModuleId, and is useful for accessing the field via an interface.

func (*PublishDraftModuleInputV2) GetShowAuthor

func (v *PublishDraftModuleInputV2) GetShowAuthor() bool

GetShowAuthor returns PublishDraftModuleInputV2.ShowAuthor, and is useful for accessing the field via an interface.

func (*PublishDraftModuleInputV2) GetVersion

GetVersion returns PublishDraftModuleInputV2.Version, and is useful for accessing the field via an interface.

type PublishDraftModuleInputV3

type PublishDraftModuleInputV3 struct {
	IsTestModule bool               `json:"isTestModule"`
	ModuleId     string             `json:"moduleId"`
	ShowAuthor   bool               `json:"showAuthor"`
	Version      ModuleVersionInput `json:"version"`
}

func (*PublishDraftModuleInputV3) GetIsTestModule

func (v *PublishDraftModuleInputV3) GetIsTestModule() bool

GetIsTestModule returns PublishDraftModuleInputV3.IsTestModule, and is useful for accessing the field via an interface.

func (*PublishDraftModuleInputV3) GetModuleId

func (v *PublishDraftModuleInputV3) GetModuleId() string

GetModuleId returns PublishDraftModuleInputV3.ModuleId, and is useful for accessing the field via an interface.

func (*PublishDraftModuleInputV3) GetShowAuthor

func (v *PublishDraftModuleInputV3) GetShowAuthor() bool

GetShowAuthor returns PublishDraftModuleInputV3.ShowAuthor, and is useful for accessing the field via an interface.

func (*PublishDraftModuleInputV3) GetVersion

GetVersion returns PublishDraftModuleInputV3.Version, and is useful for accessing the field via an interface.

type PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2

type PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2 struct {
	Id      string                                                                                    `json:"id"`
	Version PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2VersionModuleVersionResponse `json:"version"`
}

PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2 includes the requested fields of the GraphQL type PublishDraftModuleResponseV2.

func (*PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2) GetId

GetId returns PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2.Id, and is useful for accessing the field via an interface.

func (*PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2) GetVersion

GetVersion returns PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2.Version, and is useful for accessing the field via an interface.

type PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2VersionModuleVersionResponse

type PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2VersionModuleVersionResponse struct {
	Version string `json:"version"`
}

PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2VersionModuleVersionResponse includes the requested fields of the GraphQL type ModuleVersionResponse.

func (*PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2VersionModuleVersionResponse) GetVersion

GetVersion returns PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2VersionModuleVersionResponse.Version, and is useful for accessing the field via an interface.

type PublishModuleResponse

type PublishModuleResponse struct {
	PublishDraftModuleV2 PublishModulePublishDraftModuleV2PublishDraftModuleResponseV2 `json:"publishDraftModuleV2"`
}

PublishModuleResponse is returned by PublishModule on success.

func (*PublishModuleResponse) GetPublishDraftModuleV2

GetPublishDraftModuleV2 returns PublishModuleResponse.PublishDraftModuleV2, and is useful for accessing the field via an interface.

type PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3

type PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3 struct {
	Id              string                                                                                      `json:"id"`
	PublishReviewId string                                                                                      `json:"publishReviewId"`
	Version         PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3VersionModuleVersionResponse `json:"version"`
}

PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3 includes the requested fields of the GraphQL type PublishDraftModuleResponseV3.

func (*PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3) GetId

GetId returns PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3.Id, and is useful for accessing the field via an interface.

func (*PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3) GetPublishReviewId

GetPublishReviewId returns PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3.PublishReviewId, and is useful for accessing the field via an interface.

func (*PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3) GetVersion

GetVersion returns PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3.Version, and is useful for accessing the field via an interface.

type PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3VersionModuleVersionResponse

type PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3VersionModuleVersionResponse struct {
	Version string `json:"version"`
}

PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3VersionModuleVersionResponse includes the requested fields of the GraphQL type ModuleVersionResponse.

func (*PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3VersionModuleVersionResponse) GetVersion

GetVersion returns PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3VersionModuleVersionResponse.Version, and is useful for accessing the field via an interface.

type PublishModuleV3Response

type PublishModuleV3Response struct {
	// publish workflow which uses marketplace approval process
	PublishDraftModuleV3 PublishModuleV3PublishDraftModuleV3PublishDraftModuleResponseV3 `json:"publishDraftModuleV3"`
}

PublishModuleV3Response is returned by PublishModuleV3 on success.

func (*PublishModuleV3Response) GetPublishDraftModuleV3

GetPublishDraftModuleV3 returns PublishModuleV3Response.PublishDraftModuleV3, and is useful for accessing the field via an interface.

type SetAppTileResponse

type SetAppTileResponse struct {
	SetPublicAppTileDraftModuleSource SetAppTileSetPublicAppTileDraftModuleSourceSetAppTileDraftModuleSourceResponse `json:"setPublicAppTileDraftModuleSource"`
}

SetAppTileResponse is returned by SetAppTile on success.

func (*SetAppTileResponse) GetSetPublicAppTileDraftModuleSource

GetSetPublicAppTileDraftModuleSource returns SetAppTileResponse.SetPublicAppTileDraftModuleSource, and is useful for accessing the field via an interface.

type SetAppTileSetPublicAppTileDraftModuleSourceSetAppTileDraftModuleSourceResponse

type SetAppTileSetPublicAppTileDraftModuleSourceSetAppTileDraftModuleSourceResponse struct {
	ModuleId string `json:"moduleId"`
}

SetAppTileSetPublicAppTileDraftModuleSourceSetAppTileDraftModuleSourceResponse includes the requested fields of the GraphQL type SetAppTileDraftModuleSourceResponse.

func (*SetAppTileSetPublicAppTileDraftModuleSourceSetAppTileDraftModuleSourceResponse) GetModuleId

GetModuleId returns SetAppTileSetPublicAppTileDraftModuleSourceSetAppTileDraftModuleSourceResponse.ModuleId, and is useful for accessing the field via an interface.

type SetDraftModuleWellnessOfferingSourceInput

type SetDraftModuleWellnessOfferingSourceInput struct {
	ModuleId   string                           `json:"moduleId"`
	SourceInfo WellnessOfferingModuleSourceInfo `json:"sourceInfo"`
}

func (*SetDraftModuleWellnessOfferingSourceInput) GetModuleId

GetModuleId returns SetDraftModuleWellnessOfferingSourceInput.ModuleId, and is useful for accessing the field via an interface.

func (*SetDraftModuleWellnessOfferingSourceInput) GetSourceInfo

GetSourceInfo returns SetDraftModuleWellnessOfferingSourceInput.SourceInfo, and is useful for accessing the field via an interface.

type SetPublicAppTileDraftModuleSourceInput

type SetPublicAppTileDraftModuleSourceInput struct {
	ModuleId   string                        `json:"moduleId"`
	SourceInfo PublicAppTileModuleSourceInfo `json:"sourceInfo"`
}

func (*SetPublicAppTileDraftModuleSourceInput) GetModuleId

GetModuleId returns SetPublicAppTileDraftModuleSourceInput.ModuleId, and is useful for accessing the field via an interface.

func (*SetPublicAppTileDraftModuleSourceInput) GetSourceInfo

GetSourceInfo returns SetPublicAppTileDraftModuleSourceInput.SourceInfo, and is useful for accessing the field via an interface.

type SetWellnessOfferingDraftModuleSourceResponse

type SetWellnessOfferingDraftModuleSourceResponse struct {
	SetWellnessOfferingDraftModuleSource SetWellnessOfferingDraftModuleSourceSetWellnessOfferingDraftModuleSourceSetDraftModuleWellnessOfferingSourceResponse `json:"setWellnessOfferingDraftModuleSource"`
}

SetWellnessOfferingDraftModuleSourceResponse is returned by SetWellnessOfferingDraftModuleSource on success.

func (*SetWellnessOfferingDraftModuleSourceResponse) GetSetWellnessOfferingDraftModuleSource

GetSetWellnessOfferingDraftModuleSource returns SetWellnessOfferingDraftModuleSourceResponse.SetWellnessOfferingDraftModuleSource, and is useful for accessing the field via an interface.

type SetWellnessOfferingDraftModuleSourceSetWellnessOfferingDraftModuleSourceSetDraftModuleWellnessOfferingSourceResponse

type SetWellnessOfferingDraftModuleSourceSetWellnessOfferingDraftModuleSourceSetDraftModuleWellnessOfferingSourceResponse struct {
	Id string `json:"id"`
}

SetWellnessOfferingDraftModuleSourceSetWellnessOfferingDraftModuleSourceSetDraftModuleWellnessOfferingSourceResponse includes the requested fields of the GraphQL type SetDraftModuleWellnessOfferingSourceResponse.

func (*SetWellnessOfferingDraftModuleSourceSetWellnessOfferingDraftModuleSourceSetDraftModuleWellnessOfferingSourceResponse) GetId

GetId returns SetWellnessOfferingDraftModuleSourceSetWellnessOfferingDraftModuleSourceSetDraftModuleWellnessOfferingSourceResponse.Id, and is useful for accessing the field via an interface.

type StartImageUploadResponse

type StartImageUploadResponse struct {
	StartUpload StartImageUploadStartUploadStartUploadResponse `json:"startUpload"`
}

StartImageUploadResponse is returned by StartImageUpload on success.

func StartImageUpload

func StartImageUpload(
	ctx context.Context,
	client graphql.Client,
	input StartUploadInput,
) (*StartImageUploadResponse, error)

func (*StartImageUploadResponse) GetStartUpload

GetStartUpload returns StartImageUploadResponse.StartUpload, and is useful for accessing the field via an interface.

type StartImageUploadStartUploadStartUploadResponse

type StartImageUploadStartUploadStartUploadResponse struct {
	Id     string            `json:"id"`
	Url    string            `json:"url"`
	Fields map[string]string `json:"fields"`
}

StartImageUploadStartUploadStartUploadResponse includes the requested fields of the GraphQL type StartUploadResponse.

func (*StartImageUploadStartUploadStartUploadResponse) GetFields

GetFields returns StartImageUploadStartUploadStartUploadResponse.Fields, and is useful for accessing the field via an interface.

func (*StartImageUploadStartUploadStartUploadResponse) GetId

GetId returns StartImageUploadStartUploadStartUploadResponse.Id, and is useful for accessing the field via an interface.

func (*StartImageUploadStartUploadStartUploadResponse) GetUrl

GetUrl returns StartImageUploadStartUploadStartUploadResponse.Url, and is useful for accessing the field via an interface.

type StartUploadInput

type StartUploadInput struct {
	FileName string `json:"fileName"`
}

func (*StartUploadInput) GetFileName

func (v *StartUploadInput) GetFileName() string

GetFileName returns StartUploadInput.FileName, and is useful for accessing the field via an interface.

type SubsidyType added in v1.2.0

type SubsidyType string
const (
	SubsidyTypeLifeLeagueParent  SubsidyType = "LIFE_LEAGUE_PARENT"
	SubsidyTypeLifeLeaguePartner SubsidyType = "LIFE_LEAGUE_PARTNER"
	SubsidyTypeRedemption        SubsidyType = "REDEMPTION"
	SubsidyTypeService           SubsidyType = "SERVICE"
)

type UpdateDraftModuleInput

type UpdateDraftModuleInput struct {
	Description      string                  `json:"description,omitempty"`
	Icon             any                     `json:"icon,omitempty"`
	Languages        []string                `json:"languages,omitempty"`
	ModuleId         string                  `json:"moduleId"`
	ParentModuleId   string                  `json:"parentModuleId,omitempty"`
	PreviewImages    []FileWithDescription   `json:"previewImages,omitempty"`
	PreviewVideoUrls []string                `json:"previewVideoUrls,omitempty"`
	Prices           []DraftModulePriceInput `json:"prices,omitempty"`
	Products         []ModuleProduct         `json:"products,omitempty"`
	Support          string                  `json:"support"`
	Tags             []string                `json:"tags,omitempty"`
	Title            string                  `json:"title,omitempty"`
	WebsiteUrl       string                  `json:"websiteUrl,omitempty"`
}

func (*UpdateDraftModuleInput) GetDescription

func (v *UpdateDraftModuleInput) GetDescription() string

GetDescription returns UpdateDraftModuleInput.Description, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetIcon

func (v *UpdateDraftModuleInput) GetIcon() any

GetIcon returns UpdateDraftModuleInput.Icon, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetLanguages

func (v *UpdateDraftModuleInput) GetLanguages() []string

GetLanguages returns UpdateDraftModuleInput.Languages, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetModuleId

func (v *UpdateDraftModuleInput) GetModuleId() string

GetModuleId returns UpdateDraftModuleInput.ModuleId, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetParentModuleId

func (v *UpdateDraftModuleInput) GetParentModuleId() string

GetParentModuleId returns UpdateDraftModuleInput.ParentModuleId, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetPreviewImages

func (v *UpdateDraftModuleInput) GetPreviewImages() []FileWithDescription

GetPreviewImages returns UpdateDraftModuleInput.PreviewImages, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetPreviewVideoUrls

func (v *UpdateDraftModuleInput) GetPreviewVideoUrls() []string

GetPreviewVideoUrls returns UpdateDraftModuleInput.PreviewVideoUrls, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetPrices

GetPrices returns UpdateDraftModuleInput.Prices, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetProducts

func (v *UpdateDraftModuleInput) GetProducts() []ModuleProduct

GetProducts returns UpdateDraftModuleInput.Products, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetSupport

func (v *UpdateDraftModuleInput) GetSupport() string

GetSupport returns UpdateDraftModuleInput.Support, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetTags

func (v *UpdateDraftModuleInput) GetTags() []string

GetTags returns UpdateDraftModuleInput.Tags, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetTitle

func (v *UpdateDraftModuleInput) GetTitle() string

GetTitle returns UpdateDraftModuleInput.Title, and is useful for accessing the field via an interface.

func (*UpdateDraftModuleInput) GetWebsiteUrl

func (v *UpdateDraftModuleInput) GetWebsiteUrl() string

GetWebsiteUrl returns UpdateDraftModuleInput.WebsiteUrl, and is useful for accessing the field via an interface.

type UpdateDraftModuleResponse

type UpdateDraftModuleResponse struct {
	UpdateDraftModule UpdateDraftModuleUpdateDraftModuleUpdateDraftModuleResponse `json:"updateDraftModule"`
}

UpdateDraftModuleResponse is returned by UpdateDraftModule on success.

func (*UpdateDraftModuleResponse) GetUpdateDraftModule

GetUpdateDraftModule returns UpdateDraftModuleResponse.UpdateDraftModule, and is useful for accessing the field via an interface.

type UpdateDraftModuleUpdateDraftModuleUpdateDraftModuleResponse

type UpdateDraftModuleUpdateDraftModuleUpdateDraftModuleResponse struct {
	Id string `json:"id"`
}

UpdateDraftModuleUpdateDraftModuleUpdateDraftModuleResponse includes the requested fields of the GraphQL type UpdateDraftModuleResponse.

func (*UpdateDraftModuleUpdateDraftModuleUpdateDraftModuleResponse) GetId

GetId returns UpdateDraftModuleUpdateDraftModuleUpdateDraftModuleResponse.Id, and is useful for accessing the field via an interface.

type UploadType

type UploadType string
const (
	UploadTypeIcon         UploadType = "ICON"
	UploadTypePreviewImage UploadType = "PREVIEW_IMAGE"
)

type WellnessOfferingModule

type WellnessOfferingModule struct {
	Id          string                                              `json:"id"`
	Title       string                                              `json:"title"`
	Description string                                              `json:"description"`
	Version     string                                              `json:"version"`
	Source      WellnessOfferingModuleSourceMarketplaceModuleSource `json:"-"`
}

WellnessOfferingModule includes the GraphQL fields of MarketplaceModule requested by the fragment WellnessOfferingModule.

func (*WellnessOfferingModule) GetDescription

func (v *WellnessOfferingModule) GetDescription() string

GetDescription returns WellnessOfferingModule.Description, and is useful for accessing the field via an interface.

func (*WellnessOfferingModule) GetId

func (v *WellnessOfferingModule) GetId() string

GetId returns WellnessOfferingModule.Id, and is useful for accessing the field via an interface.

func (*WellnessOfferingModule) GetSource

GetSource returns WellnessOfferingModule.Source, and is useful for accessing the field via an interface.

func (*WellnessOfferingModule) GetTitle

func (v *WellnessOfferingModule) GetTitle() string

GetTitle returns WellnessOfferingModule.Title, and is useful for accessing the field via an interface.

func (*WellnessOfferingModule) GetVersion

func (v *WellnessOfferingModule) GetVersion() string

GetVersion returns WellnessOfferingModule.Version, and is useful for accessing the field via an interface.

func (*WellnessOfferingModule) MarshalJSON

func (v *WellnessOfferingModule) MarshalJSON() ([]byte, error)

func (*WellnessOfferingModule) UnmarshalJSON

func (v *WellnessOfferingModule) UnmarshalJSON(b []byte) error

type WellnessOfferingModuleSourceAppTile

type WellnessOfferingModuleSourceAppTile struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceAppTile includes the requested fields of the GraphQL type AppTile.

func (*WellnessOfferingModuleSourceAppTile) GetTypename

GetTypename returns WellnessOfferingModuleSourceAppTile.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceConsent

type WellnessOfferingModuleSourceConsent struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceConsent includes the requested fields of the GraphQL type Consent.

func (*WellnessOfferingModuleSourceConsent) GetTypename

GetTypename returns WellnessOfferingModuleSourceConsent.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceDomainOntology

type WellnessOfferingModuleSourceDomainOntology struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceDomainOntology includes the requested fields of the GraphQL type DomainOntology.

func (*WellnessOfferingModuleSourceDomainOntology) GetTypename

GetTypename returns WellnessOfferingModuleSourceDomainOntology.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceInfo

type WellnessOfferingModuleSourceInfo struct {
	// The link to open details about the subsidy for the participant
	AppLink string `json:"appLink"`
	// The approximate per-redemption cost of the offering in pennies.
	ApproximateUnitCost int `json:"approximateUnitCost"`
	// The configuration schema for this offering, as a JSON blob.
	ConfigurationSchema string `json:"configurationSchema"`
	// A URL for an icon representing the offering
	IconUrl string `json:"iconUrl"`
	// A URL of a marketing image for the offering.
	ImageUrl string `json:"imageUrl"`
	// A link to more information about the offering.
	InfoUrl string `json:"infoUrl"`
	// A URL to send install events to. This should be the url of a service that manages
	// the offering, and can be an Alpha-compatible internal lambda url (e.g. lambda://ulta-service:deployed).
	InstallUrl string `json:"installUrl"`
	// A low and high value for the offering in integer USD pennies
	PriceRange PriceRangeInput `json:"priceRange"`
	// The name of the provider of this offering.
	Provider string `json:"provider"`
	// The type of subsidy, defaults to SERVICE
	SubsidyType SubsidyType `json:"subsidyType"`
}
func (v *WellnessOfferingModuleSourceInfo) GetAppLink() string

GetAppLink returns WellnessOfferingModuleSourceInfo.AppLink, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceInfo) GetApproximateUnitCost

func (v *WellnessOfferingModuleSourceInfo) GetApproximateUnitCost() int

GetApproximateUnitCost returns WellnessOfferingModuleSourceInfo.ApproximateUnitCost, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceInfo) GetConfigurationSchema

func (v *WellnessOfferingModuleSourceInfo) GetConfigurationSchema() string

GetConfigurationSchema returns WellnessOfferingModuleSourceInfo.ConfigurationSchema, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceInfo) GetIconUrl added in v1.4.0

func (v *WellnessOfferingModuleSourceInfo) GetIconUrl() string

GetIconUrl returns WellnessOfferingModuleSourceInfo.IconUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceInfo) GetImageUrl

func (v *WellnessOfferingModuleSourceInfo) GetImageUrl() string

GetImageUrl returns WellnessOfferingModuleSourceInfo.ImageUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceInfo) GetInfoUrl

func (v *WellnessOfferingModuleSourceInfo) GetInfoUrl() string

GetInfoUrl returns WellnessOfferingModuleSourceInfo.InfoUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceInfo) GetInstallUrl

func (v *WellnessOfferingModuleSourceInfo) GetInstallUrl() string

GetInstallUrl returns WellnessOfferingModuleSourceInfo.InstallUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceInfo) GetPriceRange added in v1.4.0

GetPriceRange returns WellnessOfferingModuleSourceInfo.PriceRange, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceInfo) GetProvider

func (v *WellnessOfferingModuleSourceInfo) GetProvider() string

GetProvider returns WellnessOfferingModuleSourceInfo.Provider, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceInfo) GetSubsidyType added in v1.2.0

func (v *WellnessOfferingModuleSourceInfo) GetSubsidyType() SubsidyType

GetSubsidyType returns WellnessOfferingModuleSourceInfo.SubsidyType, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceInsightsLayout

type WellnessOfferingModuleSourceInsightsLayout struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceInsightsLayout includes the requested fields of the GraphQL type InsightsLayout.

func (*WellnessOfferingModuleSourceInsightsLayout) GetTypename

GetTypename returns WellnessOfferingModuleSourceInsightsLayout.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceMarketplaceModuleSource

type WellnessOfferingModuleSourceMarketplaceModuleSource interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() string
	// contains filtered or unexported methods
}

WellnessOfferingModuleSourceMarketplaceModuleSource includes the requested fields of the GraphQL interface MarketplaceModuleSource.

WellnessOfferingModuleSourceMarketplaceModuleSource is implemented by the following types: WellnessOfferingModuleSourceAppTile WellnessOfferingModuleSourceConsent WellnessOfferingModuleSourceDomainOntology WellnessOfferingModuleSourceInsightsLayout WellnessOfferingModuleSourceNotebook WellnessOfferingModuleSourceOcrReportExtractor WellnessOfferingModuleSourcePatientLayout WellnessOfferingModuleSourceProcessOntology WellnessOfferingModuleSourceProgramEnrollment WellnessOfferingModuleSourceProgramTemplate WellnessOfferingModuleSourceSearchLayout WellnessOfferingModuleSourceSurvey WellnessOfferingModuleSourceWellnessOffering WellnessOfferingModuleSourceWorkflow

type WellnessOfferingModuleSourceNotebook

type WellnessOfferingModuleSourceNotebook struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceNotebook includes the requested fields of the GraphQL type Notebook.

func (*WellnessOfferingModuleSourceNotebook) GetTypename

GetTypename returns WellnessOfferingModuleSourceNotebook.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceOcrReportExtractor

type WellnessOfferingModuleSourceOcrReportExtractor struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceOcrReportExtractor includes the requested fields of the GraphQL type OcrReportExtractor.

func (*WellnessOfferingModuleSourceOcrReportExtractor) GetTypename

GetTypename returns WellnessOfferingModuleSourceOcrReportExtractor.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourcePatientLayout

type WellnessOfferingModuleSourcePatientLayout struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourcePatientLayout includes the requested fields of the GraphQL type PatientLayout.

func (*WellnessOfferingModuleSourcePatientLayout) GetTypename

GetTypename returns WellnessOfferingModuleSourcePatientLayout.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceProcessOntology

type WellnessOfferingModuleSourceProcessOntology struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceProcessOntology includes the requested fields of the GraphQL type ProcessOntology.

func (*WellnessOfferingModuleSourceProcessOntology) GetTypename

GetTypename returns WellnessOfferingModuleSourceProcessOntology.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceProgramEnrollment

type WellnessOfferingModuleSourceProgramEnrollment struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceProgramEnrollment includes the requested fields of the GraphQL type ProgramEnrollment.

func (*WellnessOfferingModuleSourceProgramEnrollment) GetTypename

GetTypename returns WellnessOfferingModuleSourceProgramEnrollment.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceProgramTemplate

type WellnessOfferingModuleSourceProgramTemplate struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceProgramTemplate includes the requested fields of the GraphQL type ProgramTemplate.

func (*WellnessOfferingModuleSourceProgramTemplate) GetTypename

GetTypename returns WellnessOfferingModuleSourceProgramTemplate.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceSearchLayout

type WellnessOfferingModuleSourceSearchLayout struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceSearchLayout includes the requested fields of the GraphQL type SearchLayout.

func (*WellnessOfferingModuleSourceSearchLayout) GetTypename

GetTypename returns WellnessOfferingModuleSourceSearchLayout.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceSurvey

type WellnessOfferingModuleSourceSurvey struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceSurvey includes the requested fields of the GraphQL type Survey.

func (*WellnessOfferingModuleSourceSurvey) GetTypename

func (v *WellnessOfferingModuleSourceSurvey) GetTypename() string

GetTypename returns WellnessOfferingModuleSourceSurvey.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingModuleSourceWellnessOffering

type WellnessOfferingModuleSourceWellnessOffering struct {
	Typename               string `json:"__typename"`
	WellnessOfferingSource `json:"-"`
}

WellnessOfferingModuleSourceWellnessOffering includes the requested fields of the GraphQL type WellnessOffering.

GetAppLink returns WellnessOfferingModuleSourceWellnessOffering.AppLink, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetApproximateUnitCost

func (v *WellnessOfferingModuleSourceWellnessOffering) GetApproximateUnitCost() int

GetApproximateUnitCost returns WellnessOfferingModuleSourceWellnessOffering.ApproximateUnitCost, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetConfigurationSchema

func (v *WellnessOfferingModuleSourceWellnessOffering) GetConfigurationSchema() string

GetConfigurationSchema returns WellnessOfferingModuleSourceWellnessOffering.ConfigurationSchema, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetIconUrl added in v1.4.0

GetIconUrl returns WellnessOfferingModuleSourceWellnessOffering.IconUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetId

GetId returns WellnessOfferingModuleSourceWellnessOffering.Id, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetImageUrl

GetImageUrl returns WellnessOfferingModuleSourceWellnessOffering.ImageUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetInfoUrl

GetInfoUrl returns WellnessOfferingModuleSourceWellnessOffering.InfoUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetPriceRange added in v1.4.0

GetPriceRange returns WellnessOfferingModuleSourceWellnessOffering.PriceRange, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetProvider

GetProvider returns WellnessOfferingModuleSourceWellnessOffering.Provider, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetSubsidyType added in v1.2.0

GetSubsidyType returns WellnessOfferingModuleSourceWellnessOffering.SubsidyType, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) GetTypename

GetTypename returns WellnessOfferingModuleSourceWellnessOffering.Typename, and is useful for accessing the field via an interface.

func (*WellnessOfferingModuleSourceWellnessOffering) MarshalJSON

func (*WellnessOfferingModuleSourceWellnessOffering) UnmarshalJSON

type WellnessOfferingModuleSourceWorkflow

type WellnessOfferingModuleSourceWorkflow struct {
	Typename string `json:"__typename"`
}

WellnessOfferingModuleSourceWorkflow includes the requested fields of the GraphQL type Workflow.

func (*WellnessOfferingModuleSourceWorkflow) GetTypename

GetTypename returns WellnessOfferingModuleSourceWorkflow.Typename, and is useful for accessing the field via an interface.

type WellnessOfferingSource

type WellnessOfferingSource struct {
	Id string `json:"id"`
	// The name of the provider of this offering.
	Provider string `json:"provider"`
	// A URL of a marketing image for the offering.
	ImageUrl string `json:"imageUrl"`
	// A link to more information about the offering.
	InfoUrl string `json:"infoUrl"`
	// The configuration schema for this offering, as a JSON blob.
	ConfigurationSchema string `json:"configurationSchema"`
	// The approximate per-redemption cost of the offering in pennies.
	ApproximateUnitCost int `json:"approximateUnitCost"`
	// The type of subsidy, defaults to SERVICE
	SubsidyType SubsidyType `json:"subsidyType"`
	// The link to open details about the subsidy for the participant
	AppLink string `json:"appLink"`
	// A URL for an icon representing the offering
	IconUrl string `json:"iconUrl"`
	// A low and high value for the offering in integer USD pennies
	PriceRange WellnessOfferingSourcePriceRange `json:"priceRange"`
}

WellnessOfferingSource includes the GraphQL fields of WellnessOffering requested by the fragment WellnessOfferingSource.

func (v *WellnessOfferingSource) GetAppLink() string

GetAppLink returns WellnessOfferingSource.AppLink, and is useful for accessing the field via an interface.

func (*WellnessOfferingSource) GetApproximateUnitCost

func (v *WellnessOfferingSource) GetApproximateUnitCost() int

GetApproximateUnitCost returns WellnessOfferingSource.ApproximateUnitCost, and is useful for accessing the field via an interface.

func (*WellnessOfferingSource) GetConfigurationSchema

func (v *WellnessOfferingSource) GetConfigurationSchema() string

GetConfigurationSchema returns WellnessOfferingSource.ConfigurationSchema, and is useful for accessing the field via an interface.

func (*WellnessOfferingSource) GetIconUrl added in v1.4.0

func (v *WellnessOfferingSource) GetIconUrl() string

GetIconUrl returns WellnessOfferingSource.IconUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingSource) GetId

func (v *WellnessOfferingSource) GetId() string

GetId returns WellnessOfferingSource.Id, and is useful for accessing the field via an interface.

func (*WellnessOfferingSource) GetImageUrl

func (v *WellnessOfferingSource) GetImageUrl() string

GetImageUrl returns WellnessOfferingSource.ImageUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingSource) GetInfoUrl

func (v *WellnessOfferingSource) GetInfoUrl() string

GetInfoUrl returns WellnessOfferingSource.InfoUrl, and is useful for accessing the field via an interface.

func (*WellnessOfferingSource) GetPriceRange added in v1.4.0

GetPriceRange returns WellnessOfferingSource.PriceRange, and is useful for accessing the field via an interface.

func (*WellnessOfferingSource) GetProvider

func (v *WellnessOfferingSource) GetProvider() string

GetProvider returns WellnessOfferingSource.Provider, and is useful for accessing the field via an interface.

func (*WellnessOfferingSource) GetSubsidyType added in v1.2.0

func (v *WellnessOfferingSource) GetSubsidyType() SubsidyType

GetSubsidyType returns WellnessOfferingSource.SubsidyType, and is useful for accessing the field via an interface.

type WellnessOfferingSourcePriceRange added in v1.4.0

type WellnessOfferingSourcePriceRange struct {
	Low  int `json:"low"`
	High int `json:"high"`
}

WellnessOfferingSourcePriceRange includes the requested fields of the GraphQL type PriceRange.

func (*WellnessOfferingSourcePriceRange) GetHigh added in v1.4.0

GetHigh returns WellnessOfferingSourcePriceRange.High, and is useful for accessing the field via an interface.

func (*WellnessOfferingSourcePriceRange) GetLow added in v1.4.0

GetLow returns WellnessOfferingSourcePriceRange.Low, and is useful for accessing the field via an interface.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL