@foxy.io/sdk
Version:
Universal SDK for a full server-side and a limited in-browser access to Foxy hAPI.
24 lines (20 loc) • 831 B
TypeScript
import type { Graph } from '../../core';
export interface Attribute extends Graph {
curie: 'fx:attribute';
links: {
/** This resource. */
self: Attribute;
};
props: {
/** Controls who can see this attribute. Public attributes can be shown to anyone, including customers. Private attributes are more suitable for configuration or technical details which are irrelevant to the public. Restricted attributes can only be viewed by the OAuth client who creates them. */
visibility: 'public' | 'private' | 'restricted';
/** The name of this attribute. */
name: string;
/** The value of this attribute. */
value: string;
/** The date this resource was created. */
date_created: string | null;
/** The date this resource was last modified. */
date_modified: string | null;
};
}