import type * as Samsara from "../../../../index.js"; /** * @example * { * name: "Example Live Sharing Link name", * type: "assetsLocation" * } */ export interface LiveSharingLinksCreateLiveSharingLinkRequestBody { assetsLocationLinkConfig?: Samsara.AssetsLocationLinkRequestConfigObject; assetsNearLocationLinkConfig?: Samsara.AssetsNearLocationLinkConfigObject; assetsOnRouteLinkConfig?: Samsara.AssetsOnRouteLinkConfigObject; /** Description for the Live Sharing Link (not applicable for 'assetsOnRoute' type). */ description?: string; /** Date that this link expires in RFC 3339 format. Can't be set in the past. If not provided then link will never expire. */ expiresAtTime?: string; /** Name of the Live Sharing Link. */ name: string; /** Type of the Live Sharing Link. This field specifies which one of 'LinkConfig' objects will be used to configure the sharing link. Valid values: `assetsLocation`, `assetsNearLocation`, `assetsOnRoute` */ type: LiveSharingLinksCreateLiveSharingLinkRequestBody.Type; } export declare namespace LiveSharingLinksCreateLiveSharingLinkRequestBody { /** Type of the Live Sharing Link. This field specifies which one of 'LinkConfig' objects will be used to configure the sharing link. Valid values: `assetsLocation`, `assetsNearLocation`, `assetsOnRoute` */ const Type: { readonly AssetsLocation: "assetsLocation"; readonly AssetsNearLocation: "assetsNearLocation"; readonly AssetsOnRoute: "assetsOnRoute"; }; type Type = (typeof Type)[keyof typeof Type]; }