@artsy/cohesion 4.345.0 → 4.346.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/Schema/Events/Inquiries.d.ts +10 -0
- package/dist/Schema/Events/Inquiries.js +50 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v4.346.0 (Thu Feb 12 2026)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- feat: Add inquiry_checkboxes and proper labels to sentArtworkInquiry tracki… [#684](https://github.com/artsy/cohesion/pull/684) ([@jpotts244](https://github.com/jpotts244))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Jacqueline Potts ([@jpotts244](https://github.com/jpotts244))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v4.345.0 (Mon Feb 09 2026)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -15,6 +15,7 @@ import { ActionType } from ".";
|
|
|
15
15
|
* artwork_id: "582b1bc09c18db3b0c000999",
|
|
16
16
|
* artwork_slug: "philippe-halsman-alfred-hitchcock-during-the-filming-of-the-birds",
|
|
17
17
|
* inquiry_id: "614e3063ef0b81000bc4f45a",
|
|
18
|
+
* inquiry_checkboxes: ["shipping_quote", "price_and_availability"]
|
|
18
19
|
* products: [
|
|
19
20
|
{
|
|
20
21
|
price: 6000,
|
|
@@ -30,6 +31,7 @@ export interface SentArtworkInquiry {
|
|
|
30
31
|
artwork_id: string;
|
|
31
32
|
artwork_slug: string;
|
|
32
33
|
inquiry_id: string;
|
|
34
|
+
inquiry_checkboxes?: InquiryCheckboxLabel[];
|
|
33
35
|
products: InquiryProduct[];
|
|
34
36
|
}
|
|
35
37
|
/**
|
|
@@ -40,3 +42,11 @@ export type InquiryProduct = {
|
|
|
40
42
|
product_id: string;
|
|
41
43
|
quantity: 1;
|
|
42
44
|
};
|
|
45
|
+
export declare enum InquiryCheckboxLabel {
|
|
46
|
+
Shipping = "shipping_quote",
|
|
47
|
+
PriceAndAvailability = "price_and_availability",
|
|
48
|
+
ConditionAndProvenance = "condition_and_provenance",
|
|
49
|
+
SimilarWork = "similar_work",
|
|
50
|
+
ArtistInformation = "artist_information",
|
|
51
|
+
ArtworkInformation = "artwork_information"
|
|
52
|
+
}
|
|
@@ -1 +1,50 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.InquiryCheckboxLabel = void 0;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Schemas describing inquiry events
|
|
10
|
+
* @packageDocumentation
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* A user successfully sends an artwork inquiry request to a partner.
|
|
15
|
+
*
|
|
16
|
+
* This schema describes events sent to Segment from [[sentArtworkInquiry]]
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```
|
|
20
|
+
* {
|
|
21
|
+
* action: "sentArtworkInquiry",
|
|
22
|
+
* artwork_id: "582b1bc09c18db3b0c000999",
|
|
23
|
+
* artwork_slug: "philippe-halsman-alfred-hitchcock-during-the-filming-of-the-birds",
|
|
24
|
+
* inquiry_id: "614e3063ef0b81000bc4f45a",
|
|
25
|
+
* inquiry_checkboxes: ["shipping_quote", "price_and_availability"]
|
|
26
|
+
* products: [
|
|
27
|
+
{
|
|
28
|
+
price: 6000,
|
|
29
|
+
product_id: "582b1bc09c18db3b0c000999",
|
|
30
|
+
quantity: 1
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
* }
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The type of product associated with an inquiry request
|
|
39
|
+
*/
|
|
40
|
+
var InquiryCheckboxLabel;
|
|
41
|
+
exports.InquiryCheckboxLabel = InquiryCheckboxLabel;
|
|
42
|
+
|
|
43
|
+
(function (InquiryCheckboxLabel) {
|
|
44
|
+
InquiryCheckboxLabel["Shipping"] = "shipping_quote";
|
|
45
|
+
InquiryCheckboxLabel["PriceAndAvailability"] = "price_and_availability";
|
|
46
|
+
InquiryCheckboxLabel["ConditionAndProvenance"] = "condition_and_provenance";
|
|
47
|
+
InquiryCheckboxLabel["SimilarWork"] = "similar_work";
|
|
48
|
+
InquiryCheckboxLabel["ArtistInformation"] = "artist_information";
|
|
49
|
+
InquiryCheckboxLabel["ArtworkInformation"] = "artwork_information";
|
|
50
|
+
})(InquiryCheckboxLabel || (exports.InquiryCheckboxLabel = InquiryCheckboxLabel = {}));
|