@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
55 lines (54 loc) • 1.25 kB
TypeScript
import { BarcodeFormat, BarcodeSubType } from "../Items";
export declare enum VCardAddressType {
none = 0,
/** Domestic */
dom = 1,
/** International */
intl = 2,
/** For postal */
postal = 4,
/** For parcel */
parcel = 8,
/** Home address */
home = 16,
/** Work address */
work = 32,
/** Preferable */
pref = 64
}
export interface IAddressMetadata {
none: Array<any>;
dom: Array<any>;
intl: Array<any>;
postal: Array<any>;
parcel: Array<any>;
home: Array<any>;
work: Array<any>;
pref: Array<any>;
}
export interface IVCardAddress {
type?: VCardAddressType[];
POBox?: string;
extendedAddress?: string;
address?: string;
locality?: string;
state?: string;
zipCode?: string;
country?: string;
}
export interface IBarcodeData {
barcodeFormat: BarcodeFormat;
barcodeSubType: BarcodeSubType;
firstName?: string;
lastName?: string;
organization?: string;
position?: string;
email?: string;
mobilePhone?: string;
fax?: string;
addresses?: IVCardAddress[];
url?: string;
data?: string;
phone?: string;
barcodeValue?: string;
}