Interface iCreateUtilityListingPayload<T>

interface iCreateUtilityListingPayload<T extends NumberType> {
    categories: string[];
    content: iUtilityListingContent[];
    directLink?: string;
    displayTimes?: iUintRange<T>;
    estimatedCost?: iEstimatedCost<T>;
    estimatedTime?: string;
    inheritMetadataFrom?: iInheritMetadataFrom<T>;
    linkedTo?: iLinkedTo<T>;
    links: iUtilityListingLink<T>[];
    locale?: string;
    metadata: iMetadataWithoutInternals<T>;
    type: string;
    visibility: "public" | "private" | "unlisted";
}

Type Parameters

Properties

categories: string[]

The categories of the listing

The content for the listing

directLink?: string

The direct link for the listing. If specified, we will skip the entire content / listing page. Thus, content and links should be empty [].

displayTimes?: iUintRange<T>

The display times of the listing. Optionally specify when to show vs not show the listing.

estimatedCost?: iEstimatedCost<T>

The estimated cost for this utility/service

estimatedTime?: string

The estimated time to complete or deliver this utility/service

inheritMetadataFrom?: iInheritMetadataFrom<T>

Where to inherit metadata from? Only one can be specified.

linkedTo?: iLinkedTo<T>

The details for if this listing is linked to a specific collection or list (displayed in Utility tab)

The links for the listing

locale?: string

Locale (ex: es, fr, etc.). If not specified, we assume en.

The overall metadata for the listing

type: string

The type of the listing

visibility: "public" | "private" | "unlisted"

The visibility of the listing

MMNEPVFCICPMFPCPTTAAATR