@artsy/cohesion
Version:
Analytics schema
50 lines (45 loc) • 1.49 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.InquiryCheckboxLabel = void 0;
/**
* Schemas describing inquiry events
* @packageDocumentation
*/
/**
* A user successfully sends an artwork inquiry request to a partner.
*
* This schema describes events sent to Segment from [[sentArtworkInquiry]]
*
* @example
* ```
* {
* action: "sentArtworkInquiry",
* artwork_id: "582b1bc09c18db3b0c000999",
* artwork_slug: "philippe-halsman-alfred-hitchcock-during-the-filming-of-the-birds",
* inquiry_id: "614e3063ef0b81000bc4f45a",
* inquiry_checkboxes: ["shipping_quote", "price_and_availability"]
* products: [
{
price: 6000,
product_id: "582b1bc09c18db3b0c000999",
quantity: 1
}
]
* }
* ```
*/
/**
* The type of product associated with an inquiry request
*/
var InquiryCheckboxLabel;
exports.InquiryCheckboxLabel = InquiryCheckboxLabel;
(function (InquiryCheckboxLabel) {
InquiryCheckboxLabel["Shipping"] = "shipping_quote";
InquiryCheckboxLabel["PriceAndAvailability"] = "price_and_availability";
InquiryCheckboxLabel["ConditionAndProvenance"] = "condition_and_provenance";
InquiryCheckboxLabel["SimilarWork"] = "similar_work";
InquiryCheckboxLabel["ArtistInformation"] = "artist_information";
InquiryCheckboxLabel["ArtworkInformation"] = "artwork_information";
})(InquiryCheckboxLabel || (exports.InquiryCheckboxLabel = InquiryCheckboxLabel = {}));